package com.cw1.builder.originalMethod1;

/**
 * @Author qiuMi
 * @description 房子 - 创建
 * @Date 2022-10-20 22:34
 **/
public abstract class AbstractHouse {

    /**
     * 打地基
     */
    public abstract void buildBasic();

    /**
     * 砌墙
     */
    public abstract void buildWalls();

    /**
     * 封顶
     */
    public abstract void roofed();

    public void build(){
        buildBasic();
        buildWalls();
        roofed();
    }
}
